package dao

import "blog_server/internal/model/entity"

func (d Dao) GetUserByUsername(username string) (entity.User, error) {
	var user entity.User
	return user.Get(d.engine, username)
}
